package com.example.auth.demo.domain.auth;

import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 任务类
 */
@Data
@Builder
public class Task {
    private Long id;
    private String name;
    private String description;
    private String reward;
    private Boolean completed; // 添加任务状态字段
    private List<Role> roles;  // 添加角色列表字段
}